import React from "react";
import "./CourseItem.scss";
function CourseItem(props) {
    // console.log("-----", props.item);
    return (
      <div className="con_item">
        <div className="left_item">
          <img src={"https://ss.lanqb.com/" + props.item.posters.mobile} alt="" />
        </div>
        <div className="right_item">
          <h3>{props.item.title}</h3>
          <div className="detail_info">
            <img src={"https://ss.lanqb.com/" + props.item.profile.avatar} alt="" />
            <span>{props.item.profile.nickname}</span>
            <i>共{props.item.preview_setting.lessons_count}节</i>
          </div>
          <p>{props.item.study_num}人在学</p>
        </div>
      </div>
    );
  }
  export default CourseItem;

